package com.liuhousemyjavabasic.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("upload")
public class UploadPageController {


    @GetMapping("/uploadPage")
    public String uploadPage(Model model){
        model.addAttribute("msg" , "Hello Thymealedf");
        return "upload/uploadPage";
    }

}
